﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Entity;

namespace OnlinePayment.Admin
{
    public partial class BGIndex : System.Web.UI.Page
    {
        public SysAdmin admin;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["Admin"] != null)
                {
                    admin = (SysAdmin)Session["Admin"];
                }
                
                else
                {
                    //未登录
                    Response.Redirect("Login.aspx");
                }
            }
        }
    }
}